using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for BasePage
/// </summary>
public class BasePage : Page
{
	public BasePage()
	{	}

	protected override void OnLoad(EventArgs e)
	{
		if (this.Master.Page.Title == "Untitled Page")
			this.Master.Page.Title = "Welcome To Solon Iowa";
		base.OnLoad(e);
	}

	public int UserID
	{
		get 
		{
			if (Session["UserID"] == null)
				Session["UserID"] = 0;
			return (int)Session["UserID"];
		}
		set
		{
			Session["UserID"] = value;
		}
	}
	
}
